package cn.tianyun.pethome.org.mapper;


import cn.tianyun.pethome.org.domain.Type;
import cn.tianyun.pethome.org.query.DepartmentQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface TypeMapper {
    List<Type> queryAll();
    void add(Type type);

    List<Type> queryData(DepartmentQuery departmentQuery);

    Long queryCont(DepartmentQuery departmentQuery);

    void update(Type type);

    void deleteById(Long id);
}
